package org.mybatis3.test6;

import org.aspectj.lang.ProceedingJoinPoint;

public class NewsInfoAround {
    public Object aroundGet(ProceedingJoinPoint joinPoint){
        System.out.println("环绕增强开始");
        Object result=null;
        try {
            result= joinPoint.proceed();
        } catch (Throwable throwable) {
            throwable.printStackTrace();
        }
        System.out.println("环绕增强结束");
        return result;
    }
}
